{layout name="layout" /}
<form id="form" action="{:url('admin/user/edit')}">
<input type="hidden" name="id" value="{$info.id}"/>
    <table class="formtable">
    <tr>
        <th>用户名:</th><td>{$info.username}</td>
    </tr>
    <tr>
        <th>密码:</th>
        <td><input placeholder="请输入新密码" datatype="s6-18" class="input w300" type="text" name="password" /></td>
    </tr>
    <tr>
        <th>权限组:</th>
        <td>
            <select datatype="*" name="group_id" class="select w300">
                <option value="">- 选择权限组 -</option>
                <option value="0" {if condition="$info.group_id == 0"}selected="selected"{/if}>系统管理员</option>
                {volist name="group_lists" id="rs"}
                <option value="{$rs.id}" {if condition="$info.group_id == $rs.id"}selected="selected"{/if}>{$rs.title}</option>
                {/volist}
            </select>
        </td>
    </tr>
    <tr>
        <th>备注:</th>
        <td><textarea datatype="*" name="about" class="textarea" style="width:300px;height:80px">{$info.about}</textarea></td>
    </tr>
    <tr>
        <th></th>
        <td>
            <input type="submit" value="{$Think.lang.lang_ui_save}" class="button submit" />
            <input type="reset" value="{$Think.lang.lang_ui_reset}" class="button button-blank"/>
        </td>
    </tr>
    </table>
</div>
<script type="text/javascript">
Do('base','layer','form',function(){
    $('#form').isForm();
})
</script>